From: Glenn Morris Date: Fri, 19 Sep 2003 17:10:57 +0000 (+0000) Subject: (sh-font-lock-keywords): Highlight escaped EOLs differently from other X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~25505 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=00b2f9a69550610111a876a8610db7d96e5712ed;p=emacs.git (sh-font-lock-keywords): Highlight escaped EOLs differently from other backslash constructs. --- diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 28bc2eaf3e0..7fcbef2670d 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -809,7 +809,8 @@ See `sh-feature'.") ;; The next entry is only used for defining the others (shell eval sh-append executable-font-lock-keywords ;; Using font-lock-string-face here confuses sh-get-indent-info. - '("\\\\[^A-Za-z0-9]" 0 font-lock-warning-face) + '("\\\\$" 0 font-lock-warning-face) + '("\\\\[^A-Za-z0-9]" 0 font-lock-string-face) '("\\${?\\([A-Za-z_][A-Za-z0-9_]*\\|[0-9]+\\|[$*_]\\)" 1 font-lock-variable-name-face)) (rpm eval sh-append rpm2